// 轮播图
.banner {
    // margin-top: 80px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    ul {
        width: 400%;
        display: flex;
        position: relative;
        left: 0%;
        li {
            width: 25%;
        }
        img {
            width: 100%;
            height: fit-content;
        }
    }
    .go-left,
    .go-right {
        width: 30px;
        text-align: center;
        color: #ccc;
        font-size: 50px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
        cursor: pointer;
    }

    .go-left:hover {
        color: white;
    }
    .go-right:hover {
        color: white;
    }

    .go-left {
        left: 20px;
    }


    ol {
        display: flex;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        li {
            width: 50px;
            height: 6px;
            padding: 10px 2px;
            border-radius: 13px;
            background-color: #ccc;
            margin: 0 5px;
            cursor: pointer;
            background-clip: content-box;
        }
        li.active {
            background-color: rgb(253, 97, 97) !important;
        }

        li:hover {
            background-color: white;
        }
    }
}

// 走进蓝月亮
.go-bule-moon {
    margin-bottom: 50px;
    text-align: center;
    .title {
        font-size: 20px;
    }
    .words {
        font-size: 18px;
        color: #999999;
        margin: 30px 0;
    }
    .pics {
        display: flex;
        justify-content: space-evenly;
        .pic {
            height: 304px;
            width: 304px;
            position: relative;
            .text {
                width: 100%;
                color: white;
                font-size: 24px;
                line-height: 50px;
                height: 50px;
                background-color: rgba($color: #181818, $alpha: 0.3);
                position: absolute;
                bottom: 0;
                left: 0;
                i {
                    padding: 0 0 0 16px;
                }
            }
        }
        .into1 {
            background: url(../../images/index/into1.jpg);
            background-size: contain;
            background-position: center center;
        }
        .into2 {
            background: url(../../images/index/into2.png);
            background-size: contain;
            background-position: center center;
        }
        .into3 {
            background: url(../../images/index/into3.jpg);
            background-size: contain;
            background-position: center center;
        }

    }
}

.hover-bigger {
    transition: all 0.5s;
    &:hover {
        background-color: #1D3E97;
        color: white;
        transform: scale(1.05);
        box-shadow: 0 0 20px #181818;
    }
}

// 主页内容列表
.mainList {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    .title{
        position: relative;
        font-size: 20px;
        a {
            position: absolute;
            right: 10px;
            font-size: 18px;
            color: #999999;
        }
    }
    .go-left,
    .go-right {
        width: 30px;
        text-align: center;
        color: #ccc;
        font-size: 50px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: -35px;
        cursor: pointer;
        z-index: 99;
    }

    .go-right:hover,
    .go-left:hover {
        color: black;
    }

    .go-left {
        left: -35px;
    }
}

// 洁净之家
.cleanHome {
    padding: 30px 0;
    overflow: hidden;
    ul {
        margin-top: 30px;
        display: flex;
        position: relative;
        left: 0%;
        li {
            flex-basis: 25%;
            flex-shrink: 0;
            width: 25%;
            & > div {
                margin: 0 auto;
            }
        }
    }

    .goods {
        width: 200px;
        height: 350px;
        border:  1px solid #F2F2F3;
        .pic {
            background-color: white !important;
        }
        img {
            width: 200px;
            height: 280px;
        }
        .text {
            text-align: center;
            font-size: 20px;
            span {
                display: block;
            }
        }
    }
}

//新闻动态
.news {
    padding: 30px 0;
    overflow: hidden;
    ul {
        margin-top: 30px;
        display: flex;
        position: relative;
        left: 0%;
        li {
            flex-basis: 33.3333%;
            flex-shrink: 0;
            width: 33.3333%;
            & > div {
                margin: 0 auto;
            }
        }
    }

    .news-item {
        width: 310px;
        height: 370px;
        color: #808080;
        font-size: 14px;
        background-color: #F2F2F2;
        position: relative;
        
        &:hover {
            background-color: #1D3E97;
            color: white;
        }

        .date {
            .l {
                height: 50px;
                line-height: 50px;
                font-size: 24px;
                padding: 20px 40px;
                float: left;
            }
            .r {
                height: 50px;
                line-height: 50px;
                padding: 20px 40px;
                float: right;
            }
        }
        .text {
            text-align: start;
            padding: 20px 40px;
        }
        img {
            width: 310px;
            height: 200px;
            position: absolute;
            bottom: 0;
            left: 0;
        }
    }
}

